﻿@model iDMS.Models.Sheet
@using MvcHtmlHelpers
@{
    ViewBag.Title = "Sheet Withdrawn";
}
<h3>
    @Html.Partial("_SheetTitle", Model) - <span class="accent">Withdrawn</span>
</h3>
<fieldset>
    <legend>Sheet</legend>Are you sure you want to withdrawn @Html.Partial("_SheetTitle", Model)
    ?
    <div style="margin-top: 20px">
        @Html.SheetDownloadActionLink(Model, FileIconSize.px48)
    </div>
    @using (Html.BeginForm())
    {
        <div class="editor-label">
            @Html.LabelFor(model => model.InnaplicableChangeID)
        </div>
        <div class="editor-field">
            @Html.DropDownListFor(model => model.InnaplicableChangeID, (IEnumerable<SelectListItem>)ViewBag.DChanges)
        </div>
        <p>
            <input type="submit" value="Withdrawn" />
        </p>
    }
</fieldset>
@Html.ActionLink("Back to List", "Sheets", new { id = Model.DrawingID }, new { @class = "btl" })
